package com.lingjtx.common.core.model.mq;

public class ImMessageBody {

    private String msgId;       // 消息唯一ID
    private Integer msgType;     // 1-text; 2-image 3-语音，4-视频，5-文件
    private Long senderId;     // 发送者ID
    private Long receiverId;   // 接收者ID（单聊）或群ID（群聊）
    private String content;    // 消息内容）
    private Long timestamp;    // 时间戳

    public String getMsgId() {
        return msgId;
    }

    public void setMsgId(String msgId) {
        this.msgId = msgId;
    }

    public Integer getMsgType() {
        return msgType;
    }

    public void setMsgType(Integer msgType) {
        this.msgType = msgType;
    }

    public Long getSenderId() {
        return senderId;
    }

    public void setSenderId(Long senderId) {
        this.senderId = senderId;
    }

    public Long getReceiverId() {
        return receiverId;
    }

    public void setReceiverId(Long receiverId) {
        this.receiverId = receiverId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }
}
